﻿Public Class RoomDTO
    Private _RoomID As Integer
    Private _Price As Integer
    Private _Type As String
    Private _Capacity As String
    Private _Choose As Boolean
    Private _Status As String
    Public Property RoomID() As Integer
        Get
            Return _RoomID
        End Get
        Set(ByVal value As Integer)
            _RoomID = value
        End Set
    End Property

    Public Property Price() As Integer
        Get
            Return _Price
        End Get
        Set(ByVal value As Integer)
            _Price = value
        End Set
    End Property
    Public Property Type() As String
        Get
            Return _Type
        End Get
        Set(ByVal value As String)
            _Type = value
        End Set
    End Property
 
    Public Property Capacity() As String
        Get
            Return _Capacity
        End Get
        Set(ByVal value As String)
            _Capacity = value
        End Set
    End Property
    Public Property Choose() As Boolean
        Get
            Return _Choose
        End Get
        Set(ByVal value As Boolean)
            _Choose = value
        End Set
    End Property
    Public Property Status() As String
        Get
            Return _Status
        End Get
        Set(ByVal value As String)
            _Status = value
        End Set
    End Property
    Public Sub New()
        _RoomID = 0
        _Price = 0
        _Type = ""
        _Capacity = ""
        _Choose = False
        _Status = "free"
    End Sub
End Class
